package kibahed.uni.mdp.representation;

public class Connection {

	private State endState;
	private Action action;
	private double probability;
	
	public Connection(State endState, Action action, double probability) {
		this.endState = endState;
		this.action = action;
		this.probability = probability;
	}

	public State getEndState() {
		return endState;
	}

	public void setEndState(State endState) {
		this.endState = endState;
	}

	public Action getAction() {
		return action;
	}

	public void setAction(Action action) {
		this.action = action;
	}

	public double getProbability() {
		return probability;
	}

	public void setProbability(double probability) {
		this.probability = probability;
	}

}
